// find 过滤
// https://www.runoob.com/jsref/jsref-find.html

let students = [
  {
    name: "zhangsan",
    age: "19",
  },
  {
    name: "zhan",
    age: "120",
  },
  {
    name: "zhan123",
    age: "120",
  },
];

let listDate = students.map((item) => ({
  name: item.name,
}));

// item => ({
//     url: item.html_url,
//     img: item.avatar_url,
//     name: item.login,
//     })
console.log(listDate);
